package com.ultrapower.util.rowkey;
/**
 * 
 * @author wangy
 *
 */

import com.sematext.hbase.wd.RowKeyDistributorByHashPrefix;

public final class RowKeyDistributorFactory {
	public static RowKeyDistributorByHashPrefix createRowKeyDistributor(int start, int end, int maxBuckets) {
		RangeOneByteSimpleHash rangeHash = new RangeOneByteSimpleHash(start, end, maxBuckets);
		return new RowKeyDistributorByHashPrefix(rangeHash);
	}

}
